package com.njtoyo.taxi.admin.rest.presenter.business.driver;

import com.njtoyo.taxi.admin.mapper.master.enums.DriverAuditInfoType;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverRegistrationInfoSate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "司机自主注册审核详情模型")
public class DriverAuditInfoDetailsPresenter {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "司机手机号")
    private String mobileNumber;

    @ApiModelProperty(value = "司机姓名")
    private String name;

    @ApiModelProperty(value = "运营区ID")
    private Long driverRegionId;

    @ApiModelProperty(value = "运营区名称")
    private String driverRegionName;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

//    @ApiModelProperty(value = "设备号")
//    private String deviceId;

//    @ApiModelProperty(value = "服务卡号")
//    private String serviceNumber;

    @ApiModelProperty(value = "身份证号")
    private String identityNumber;

    @ApiModelProperty(value = "身份证人像面图片")
    private String identityPortraitUrl;

    @ApiModelProperty(value = "身份证国徽面图片")
    private String identityNationalEnblemUrl;

//    @ApiModelProperty(value = "驾驶证号码")
//    private String driverLicenceNumber;

    @ApiModelProperty(value = "驾驶证信息页图片")
    private String driverLicenceInfoUrl;

    @ApiModelProperty(value = "驾驶证附页图片")
    private String driverLicenceSupplementUrl;

    @ApiModelProperty(value = "行驶证号")
    private String vehicleLicenceNumber;

    @ApiModelProperty(value = "行驶证信息页图片")
    private String vehicleLicenceInfoUrl;

    @ApiModelProperty(value = "行驶证附页图片")
    private String vehicleLicenceSupplementUrl;

    @ApiModelProperty(value = "从业资格证号")
    private String qualificationCertificateNumber;

    @ApiModelProperty(value = "从业资格证号图片")
    private String qualificationCertificateUrl;

    @ApiModelProperty(value = "人车合影")
    private String driverTaxiGroupPhotoUrl;

    @ApiModelProperty(value = "审核状态 0:[审核中],1:[通过],2:[驳回],3:[拒绝],4:[废除]")
    private DriverRegistrationInfoSate state;

    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;

    @ApiModelProperty(value = "道路运输证书照片")
    private String roadTransportCertificateUrl;

    @ApiModelProperty(value = "监督服务卡照片")
    private String supervisionServiceCardUrl;

//    @ApiModelProperty(value = "车辆发动机号")
//    private String engineNumber;

//    @ApiModelProperty(value = "道路交通号")
//    private String roadTransportNumber;

    @ApiModelProperty(value = "从业资格证有效期(时间戳)")
    private Integer qualificationCertificateExpiringTimestamp;

    @ApiModelProperty(value = "行驶证强制报废期(时间戳)")
    private Integer vehicleLicenceExpiringTimestamp;

    @ApiModelProperty(value = "状态类型(0:注册，1:行驶证更新，2:从业资格证更新)")
    private DriverAuditInfoType type;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;

    @ApiModelProperty(value = "日志记录")
    private List<DriverAuditLogPresenter> auditLogList;
}
